//
//  ANProfileBaseItem.m
//  Ants
//
//  Created by ZHM on 16/3/17.
//  Copyright © 2016年 ZHM. All rights reserved.
//

#import "ANProfileBaseItem.h"

@implementation ANProfileBaseItem

+ (instancetype)itemWithTilte:(NSString *)tilte subTilte:(NSString *)subTilte image:(UIImage *)image {
    ANProfileBaseItem *item = [[self alloc] init];
    item.tilte = tilte;
    item.subTilte = subTilte;
    item.image = image;
    return item;
}
+ (instancetype)itemWithTilte:(NSString *)tilte {
    return [self itemWithTilte:tilte subTilte:nil image:nil];
}
+ (instancetype)itemWithTilte:(NSString *)tilte image:(UIImage *)image {
    return [self itemWithTilte:tilte subTilte:nil image:image];
}
+ (instancetype)itemWithTilte:(NSString *)tilte subTilte:(NSString *)subTilte {
    return [self itemWithTilte:tilte subTilte:subTilte image:nil];
}
@end
